package edu.nf.ch13.service;

import org.springframework.stereotype.Service;

/**
 * @author wangl
 * @date 2025/5/6
 *
 * 目标对象
 */
@Service
public class UserService {

    /**
     * save方法就是目标连接点
     */
    public String save(String name) {
        System.out.println("保存用户...");
        //System.out.println(10/0);
        return "Hello, " + name;
    }
}